find the element which occurs maximum number of times